﻿@{
    ViewBag.Title = "Followers";
    Layout = "~/Views/Shared/_LayoutUser.cshtml";
}
@model IQueryable<MalkiSumWeb.Models.MemberActivity>
@{ 
    var lst = new List<MalkiSumWeb.Models.MemberActivity>();
    if (Model != null)
    {
        lst = Model.ToList();
    }
    
}
<style>
    .test > div
    {
        float: right;
        margin-left: 10px;
    }
</style>

<h2>
    متابعين</h2>
<div class="test">
    @foreach (var memberAct in lst)
    {
        <div>
            @memberAct.Member.FirstName
        </div>
        
        <div>
            @memberAct.Member.LastName
        </div>

        <div>
            @memberAct.Member.Username
        </div>
        
        <div>
            @*@memberAct.Member.Files*@
        </div>
        
        <div>
            @string.Format("{0:dd-MM-yyyy}", memberAct.ActionDateTime)
            @*@if (memberAct.ActionDateTime.HasValue) { <text> @memberAct.ActionDateTime.Value.ToString("dd-MM-yyyy"); </text>}*@
        </div>
    }
</div>
